﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model.Sys
{
    public class RoleDBInfo
    {
        public string RoleId { get; set; }

        public int DBId { get; set; }
        /// <summary>
        /// 连接/断开：	纯页面控制：每个人都有这个权限，需要记录状态，REL
        /// </summary>
        public int IsConnected { get; set; }
        /// <summary>
        /// 启用/禁用：	禁用所有功能，实例置灰
        /// </summary>
        public int IsEnable { get; set; }
        /// <summary>
        /// 管理权限
        /// </summary>
        public int IsManagement { get; set; }
        /// <summary>
        /// 查看权限
        /// </summary>
        public int IsView { get; set; }

        #region 扩展字段
        public virtual string DBName { get; set; }
        public virtual string DBDisplayName { get; set; }

        public virtual bool Selected { get; set; }

        #endregion
    }
}
